#ifndef _PFS_ITEM_H_
#define _PFS_ITEM_H_ XD
// ---- ---- 0w0 ---- ----

#include <vector>

#include "random_gen.h"

class PFS_Item {
public:
	typedef std::vector<std::vector<int>> JMTable; // Job-Machine Table	

	explicit PFS_Item(const JMTable& jm_table):jm_table_(jm_table){}

	int machine_num() const { return jm_table_.size(); };
	int job_num() const { return jm_table_.front().size(); }

	const std::vector<int>& operator[] (size_t i) const { return jm_table_[i]; }

private:
	const JMTable jm_table_;
};

// ---- ---- >w< ---- ----
#endif  // _PFS_ITEM_H_